package net.zjitc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.zjitc.entity.Goods;

public interface GoodService {
    Page<Goods> selectPage(Integer pagenum, Integer pagesize);

    Goods addGood(Goods goods);

    Goods findById(int id);

    Goods updateGood(Goods goods, int id);

    int deleteGood(int id);
}
